(function (window, undefined) {
    class Ward extends Father {
        constructor (parent, option = { width: 100, height: 20, color: "blue" }) {
            super(parent, option)
        }
        renderWard () {
            this.balls = []
            super.render(this.balls)
            this.balls[0].style.borderRadius = "10px"
            this.balls[0].style.position = "absolute"
            
            this.balls[0].style.zIndex = "999"
            
            this.balls[0].style.left = document.documentElement.offsetWidth / 2 + "px"
            this.balls[0].style.bottom = document.documentElement.offsetWidth / 2 - document.documentElement.offsetWidth * 0.45 + "px"
        }
    }

    window.Ward = Ward
})(window, undefined)